<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" type="text/css" href="template/default/content/css/style.css">
<script language="javascript" type="text/javascript" src="DatePicker/WdatePicker.js"></script>
<script charset="utf-8" src="eweb/kindeditor.js"></script>
<script type="text/javascript"> 
function show_help()
{
   mytop=(screen.availHeight-430)/2;
   myleft=(screen.availWidth-800)/2;
   window.open("admin.php?ac=view&fileurl=help&helpid=<?=$fileurl?>","","height=470,width=800,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top="+mytop+",left="+myleft+",resizable=yes");
}
</script>
<title>Office 515158 2011 OA办公系统</title>
 
</head>
<body class="bodycolor">
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="0" class="small">
  <tr>
    <td class="Big"><img src="template/default/content/images/notify_new.gif" align="absmiddle"><span class="big3"> 新建工作流程</span>&nbsp;&nbsp;&nbsp;&nbsp;
	<span style="font-size:12px;"><a href="#" onClick="show_help()" style="font-size:12px;">使用帮助文档？</a>&nbsp;|&nbsp;
	<a href="http://bbs.515158.com/" target="_blank" style="font-size:12px;">使用遇到问题？</a>&nbsp;|&nbsp;
	<a href="admin.php?ac=workadd&fileurl=<?=$fileurl?>" style="font-size:12px;">返回列表页</a><img src="template/default/content/images/f_ico.png" align="absmiddle"></span>
    </td>
  </tr>
</table>
<script Language="JavaScript"> 
function CheckForm()
{
   if(document.save.userkey.value=="")
   { alert("审批人员不能为空！");
     document.save.userkey.focus();
     return (false);
   }
   if(document.save.number.value=="")
   { alert("流水单号不能为空！");
     document.save.number.focus();
     return (false);
   }
   if(document.save.title.value=="")
   { alert("工作流名称不能为空！");
     document.save.title.focus();
     return (false);
   }
<?
global $db;
$query = $db->query("SELECT * FROM ".DB_TABLEPRE."workclass_form where type_id='".$_GET["workclasstype"]."' and template_id='".$_GET["worktemplate"]."' and type!='6' ORDER BY id Asc");
	while ($row = $db->fetch_array($query)) {
		if($row["confirmation"]=='1'){
?>

if(document.save.<?=$row["inputname"]?>.value=="")
   { alert("<?=$row["formname"]?>不能为空！");
     document.save.<?=$row["inputname"]?>.focus();
     return (false);
   }
   
<?php
	}
}
?>
   return true;
}
function sendForm()
{
   if(CheckForm())
      document.save.submit();
}
</script>
<form name="save" method="post" action="?ac=add&do=tplsave&fileurl=work">
	<input type="hidden" name="savetype" value="add" />
	<input type="hidden" name="workclasstype" value="<?=$_GET["workclasstype"]?>" />
	<input type="hidden" name="worktemplate" value="<?=$_GET["worktemplate"]?>" />
	<input type="hidden" name="title" value="流水号<?=$number?><?=$tpl['title']?>" />
	<input type="hidden" name="number" value="<?=$number?>" />

<style> 
<!--table
	{mso-displayed-decimal-separator:"\.";
	mso-displayed-thousand-separator:"\,";}
@page
	{margin:.24in .16in .43in .16in;
	mso-header-margin:.67in;
	mso-footer-margin:.51in;
	mso-page-orientation:landscape;
	mso-horizontal-page-align:center;}
.font9
	{color:#333333;
	font-size:8.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;}
.font10
	{color:#333333;
	font-size:8.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Arial, sans-serif;
	mso-font-charset:0;}
tr
	{mso-height-source:auto;
	mso-ruby-visibility:none;}
col
	{mso-width-source:auto;
	mso-ruby-visibility:none;}
br
	{mso-data-placement:same-cell;}
.style34
	{mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	white-space:nowrap;
	mso-rotate:0;
	mso-background-source:auto;
	mso-pattern:auto;
	color:windowtext;
	font-size:10.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	border:none;
	mso-protection:locked visible;
	mso-style-name:Normal_Activity-Appl;}
.style35
	{mso-number-format:General;
	text-align:general;
	vertical-align:bottom;
	white-space:nowrap;
	mso-rotate:0;
	mso-background-source:auto;
	mso-pattern:auto;
	color:windowtext;
	font-size:10.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	border:none;
	mso-protection:locked visible;
	mso-style-name:Normal_Expform;}
.style0
	{mso-number-format:General;
	text-align:general;
	vertical-align:middle;
	white-space:nowrap;
	mso-rotate:0;
	mso-background-source:auto;
	mso-pattern:auto;
	color:windowtext;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:宋体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	border:none;
	mso-protection:locked visible;
	mso-style-name:常规;
	mso-style-id:0;}
td
	{mso-style-parent:style0;
	padding-top:1px;
	padding-right:1px;
	padding-left:1px;
	mso-ignore:padding;
	color:windowtext;
	font-size:12.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:宋体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	mso-number-format:General;
	text-align:general;
	vertical-align:middle;
	border:none;
	mso-background-source:auto;
	mso-pattern:auto;
	mso-protection:locked visible;
	white-space:nowrap;
	mso-rotate:0;}
.xl67
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	vertical-align:bottom;
	border:.5pt solid windowtext;}
.xl68
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	vertical-align:top;
	border:.5pt solid windowtext;}
.xl69
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	vertical-align:top;
	border:.5pt solid windowtext;}
.xl70
	{mso-style-parent:style0;
	color:#333333;
	font-size:10.0pt;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	vertical-align:bottom;
	border:.5pt solid windowtext;}
.xl71
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	text-align:left;
	vertical-align:top;
	border:.5pt solid windowtext;}
.xl72
	{mso-style-parent:style0;
	vertical-align:bottom;
	border:.5pt solid windowtext;}
.xl73
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:center;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl74
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	text-align:center;
	vertical-align:top;
	border:.5pt solid windowtext;}
.xl75
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	mso-number-format:"\[ENG\]d\/mmm";
	text-align:center;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl76
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-weight:700;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl77
	{mso-style-parent:style34;
	font-size:10.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl78
	{mso-style-parent:style0;
	border:.5pt solid windowtext;}
.xl79
	{mso-style-parent:style34;
	font-size:10.0pt;
	font-family:"Times New Roman", serif;
	mso-font-charset:0;
	mso-number-format:"\@";
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl80
	{mso-style-parent:style34;
	font-size:10.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:center;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl81
	{mso-style-parent:style0;}
.xl82
	{mso-style-parent:style34;
	color:#333333;
	font-size:8.0pt;
	text-align:left;
	border:.5pt solid windowtext;}
.xl83
	{mso-style-parent:style34;
	font-size:10.0pt;
	mso-number-format:"\@";
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl84
	{mso-style-parent:style35;
	font-size:16.0pt;
	font-weight:700;
	text-align:center;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl85
	{mso-style-parent:style35;
	font-size:10.0pt;
	font-weight:700;
	text-align:center;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl86
	{mso-style-parent:style35;
	color:#333333;
	font-size:8.0pt;
	font-family:仿宋体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl87
	{mso-style-parent:style0;
	color:#333333;
	font-size:11.0pt;
	font-weight:700;
	text-align:left;
	border:.5pt solid windowtext;}
.xl88
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	border:.5pt solid windowtext;}
.xl89
	{mso-style-parent:style0;
	color:#333333;
	font-size:10.0pt;
	text-align:left;
	border:.5pt solid windowtext;}
.xl90
	{mso-style-parent:style0;
	color:#333333;
	font-size:10.0pt;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	text-align:left;
	border:.5pt solid windowtext;}
.xl91
	{mso-style-parent:style0;
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;}
.xl92
	{mso-style-parent:style0;
	color:#333333;
	font-size:8.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl93
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl94
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-weight:700;
	mso-number-format:"\@";
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl95
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-weight:700;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	mso-number-format:"\@";
	text-align:left;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;
	white-space:normal;}
.xl96
	{mso-style-parent:style34;
	color:#333333;
	font-size:8.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:left;
	border:.5pt solid windowtext;}
.xl97
	{mso-style-parent:style0;
	mso-number-format:"\@";
	text-align:left;
	border:.5pt solid windowtext;}
.xl98
	{mso-style-parent:style0;
	font-size:10.0pt;
	text-align:left;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl99
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-weight:700;
	font-family:Arial, sans-serif;
	mso-font-charset:0;
	text-align:left;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl100
	{mso-style-parent:style0;
	color:gray;
	font-size:9.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:center;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl101
	{mso-style-parent:style0;
	color:#333333;
	font-size:9.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:center;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl102
	{mso-style-parent:style0;
	color:#333333;
	font-size:9.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:center;
	border:.5pt solid windowtext;
	white-space:normal;}
.xl103
	{mso-style-parent:style0;
	font-size:10.0pt;
	font-family:楷体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	text-align:center;
	border:.5pt solid windowtext;
	mso-protection:unlocked visible;}
.xl104
	{mso-style-parent:style0;
	text-align:center;
	border:.5pt solid windowtext;}
ruby
	{ruby-align:left;}
rt
	{color:windowtext;
	font-size:9.0pt;
	font-weight:400;
	font-style:normal;
	text-decoration:none;
	font-family:宋体;
	mso-generic-font-family:auto;
	mso-font-charset:134;
	mso-char-type:none;
	display:none;}
-->
</style>
<table border=0 cellpadding=0 cellspacing=0 bgcolor="#FFFFFF" style='border-collapse:
 collapse;table-layout:fixed;width:911pt' x:str>
 <col width=18 style='mso-width-source:userset;mso-width-alt:576;width:14pt'>
 <col width=67 style='mso-width-source:userset;mso-width-alt:2144;width:50pt'>
 <col width=62 style='mso-width-source:userset;mso-width-alt:1984;width:47pt'>
 <col width=52 style='mso-width-source:userset;mso-width-alt:1664;width:39pt'>
 <col width=78 style='mso-width-source:userset;mso-width-alt:2496;width:59pt'>
 <col width=70 style='mso-width-source:userset;mso-width-alt:2240;width:53pt'>
 <col width=60 style='mso-width-source:userset;mso-width-alt:1920;width:45pt'>
 <col width=60 style='mso-width-source:userset;mso-width-alt:608'>
 <col width=72 style='width:54pt'>
 <col width=80 style='mso-width-source:userset;mso-width-alt:2560;width:60pt'>
 <col width=32 style='mso-width-source:userset;mso-width-alt:1024;width:24pt'>
 <col width=94 style='mso-width-source:userset;mso-width-alt:3008;width:71pt'>
 <col width=20 style='mso-width-source:userset;mso-width-alt:640;width:15pt'>
 <col width=30 style='mso-width-source:userset;mso-width-alt:960;width:23pt'>
 <col width=112 style='mso-width-source:userset;mso-width-alt:3584;width:84pt'>
 <col width=1 style='mso-width-source:userset;mso-width-alt:32;width:1pt'>
 <col width=48 style='mso-width-source:userset;mso-width-alt:1536;width:36pt'>
 <col width=171 style='mso-width-source:userset;mso-width-alt:5472;width:128pt'>
 <col width=0 style='display:none;mso-width-source:userset;mso-width-alt:2304'>
 <col width=72 span=2 style='width:54pt'>
 
 <tr height=48 style='mso-height-source:userset;height:36.0pt'>
  <td height=48 style='height:36.0pt'></td>
  <td colspan=13 class=xl84 width=717 style='width:540pt'>付款申请单</td>
  <td colspan=4 class=xl86 width=508 style='border-left:none;width:249pt'>编号
  Ref No.<input name="number" type="text" class="BigInput" id="number" style="width: 120px;" value="<?=$number?>" maxlength="100" /></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=3 class=xl68>申请人 Proposer</td>
  <td colspan=3 class=xl68 style='border-left:none'>申请人编码 Employee Code</td>
  <td colspan=3 class=xl68 style='border-left:none'>部门 Department</td>
  <td colspan=4 class=xl69 style='border-left:none'>活动名称 Activity Name</td>
  <td colspan=4 class=xl71 style='border-left:none'>活动内部编码<font class="font9">
  Internal Order Code</font></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=3 rowspan=2 class=xl93 width=717 style='width:136pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_Proposer',150,20)?></td>
  <td colspan=3 rowspan=2 class=xl93 width=717 style='width:157pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_EmployeeCode',150,20)?></td>
  <td colspan=3 rowspan=2 class=xl93 width=717 style='width:114pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_Department')?></td>
  <td colspan=4 rowspan=2 class=xl91><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_ActivityName',150,20)?></td>
  <td colspan=4 rowspan=2 class=xl92 width=508 style='width:249pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_InternalOrderCode',250,20)?></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=6 class=xl74>申请人所属公司<font class="font10"> Company</font></td>
  <td colspan=3 class=xl68 style='border-left:none'>日期 Date</td>
  <td colspan=8 rowspan=3 class=xl87>付款用途说明</td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=6 rowspan=2 class=xl73 width=717 style='width:293pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_Companyname',280,20)?></td>
  <td colspan=3 rowspan=2 class=xl75 width=717 style='width:114pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_Date',250,20)?></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  </tr>
 <tr height=38 style='mso-height-source:userset;height:28.5pt'>
  <td height=38 style='height:28.5pt'></td>
  <td colspan="2" class=xl88 style='border-top:none'>付款方式 Payment Type</td>
  <td colspan=7 class=xl88 style='border-left:none'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_PaymentType')?></td>
  <td colspan=8 rowspan=11 class=xl94 width=717 style='width:382pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_content',508,250)?></td>
  </tr>
 <tr height=24 style='mso-height-source:userset;height:18.0pt'>
  <td height=24 style='height:18.0pt'></td>
  <td colspan="2" class=xl82 style='border-top:none'>请选择币种：　</td>
  <td colspan=7 class=xl89 style='border-left:none'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_Currency')?></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=9 class=xl88>　</td>
  </tr>
 <tr height=25 style='mso-height-source:userset;height:18.75pt'>
  <td height=25 style='height:18.75pt'></td>
  <td colspan=9 class=xl96>收款人 Payee</td>
  </tr>
 <tr height=8 style='mso-height-source:userset;height:6.0pt'>
  <td height=8 style='height:6.0pt'></td>
  <td colspan=9 rowspan=2 class=xl77 width=717 style='width:407pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_Payee',350,20)?></td>
  </tr>
 <tr height=29 style='mso-height-source:userset;height:21.75pt'>
  <td height=29 style='height:21.75pt'></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=9 class=xl96>收款人银行 Payee Bank</td>
  </tr>
 <tr height=6 style='mso-height-source:userset;height:4.5pt'>
  <td height=6 style='height:4.5pt'></td>
  <td colspan=9 rowspan=2 class=xl77 width=717 style='width:407pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_PayeeBank',350,20)?></td>
  </tr>
 <tr height=30 style='mso-height-source:userset;height:22.5pt'>
  <td height=30 style='height:22.5pt'></td>
  </tr>
 <tr height=20 style='mso-height-source:userset;height:15.0pt'>
  <td height=20 style='height:15.0pt'></td>
  <td colspan=9 class=xl96>帐号 A/C No.</td>
  </tr>
 <tr height=32 style='mso-height-source:userset;height:24.0pt'>
  <td height=32 class=xl81 style='height:24.0pt'></td>
  <td colspan=9 class=xl97><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_ACNo',350,20)?></td>
  </tr>
 <tr height=28 style='mso-height-source:userset;height:21.0pt'>
  <td height=28 style='height:21.0pt'></td>
  <td colspan=9 class=xl96
  x:str="大写金额 Amount  in Words                                              ">大写金额
  Amount<span style='mso-spacerun:yes'>&nbsp; </span>in Words<span
  style='mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
  <td colspan=8 rowspan=3 class=xl98 width=717 style='width:382pt'>我接受我申请付款后与公司形成的债务关系，我保证此款只用于所申请的用途和公司
  准许的工作范围，我同意在完成此次活动后的10个工作日内通过报帐程序无条件归还<span style='mso-spacerun:yes'>&nbsp;
  </span>此借款，否则， 公司可从本人的薪金中扣还该款。</td>
  </tr>
 <tr height=14 style='mso-height-source:userset;height:10.5pt'>
  <td height=14 style='height:10.5pt'></td>
  <td colspan=9 rowspan=2 class=xl83 width=717 style='width:407pt'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_AmountinWords',350,20)?></td>
  </tr>
 <tr height=22 style='mso-height-source:userset;height:16.5pt'>
  <td height=22 style='height:16.5pt'></td>
  </tr>
 <tr height=28 style='mso-height-source:userset;height:21.0pt'>
  <td height=28 style='height:21.0pt'></td>
  <td colspan=4 class=xl96>小写金额 Amount in Numbers</td>
  <td colspan=5 class=xl96 style='border-left:none'><?=get_work_tpl_db($tpl['workclasstype'],$tpl['id'],'_AmountinNumbers',250,20)?></td>
  <td colspan=8 class=xl99 width=717 style='border-left:none;width:382pt'>　</td>
  </tr>
 
 <tr height=44 style='mso-height-source:userset;height:33.0pt'>
  <td height=44 style='height:33.0pt'></td>
  <td colspan=2 class=xl100 width=717 style='width:97pt;line-height:150%;'>雇员签字<br>Employee Signature</td>
  <td colspan=2 class=xl101 width=717 style='border-left:none;width:98pt; line-height:150%;'>直接主管<br>Direct Superior</td>
  <td colspan=3 class=xl101 width=717 style='border-left:none;width:98pt; line-height:150%;'>部门经理审批<br>Department Approval</td>
  <td colspan=3 class=xl101 width=717 style='border-left:none;width:138pt; line-height:150%;'>跨部门审批<br>Cross-Dept. Approval</td>
  <td colspan=3 class=xl101 width=717 style='border-left:none;width:109pt; line-height:150%;'>财务审核<br>Finance Check</td>
  <td colspan=3 class=xl101 width=508 style='border-left:none;width:121pt; line-height:150%;'>财务总监审批<br>Finance Director Approval</td>
  <td class=xl101 width=508 style='border-left:none;width:128pt; line-height:150%;'>总经理审批<br>GM Approval</td>
  </tr>
 <tr height=60 style='mso-height-source:userset;height:45.6pt'>
  <td height=60 style='height:45.6pt'></td>
  <td colspan=2 class=xl103><?=GET_INC_USER_NAME($_USER->id)?></td>
  <td colspan=2 class=xl103 style='border-left:none'><?php
	  $blog=$db->fetch_one_array("SELECT workuser,id FROM ".DB_TABLEPRE."workclass_flow WHERE template_id='".$_GET["worktemplate"]."' and type_id='".$_GET["workclasstype"]."' and number='2' ORDER BY id desc LIMIT 1");
	 if($blog['flowtype']=='2'){
	 	get_oa_member_public(1,"userkey",$blog["workuser"],"",80,20);
	 }else{
		get_oa_member_public(1,"userkey",$blog["workuser"],"+选择人员",50,20);
	 }
	 ?>
	 <br>
	 <?php get_sms_info_phone_box("","shownamemaster")?>
	 <input type="hidden" name="flowid" value="<?=$blog["id"]?>" /></td>
  <td colspan=3 class=xl103 style='border-left:none'>　</td>
  <td colspan=3 class=xl103 style='border-left:none'>　</td>
  <td colspan=3 class=xl103 style='border-left:none'>　</td>
  <td colspan=3 class=xl103 style='border-left:none'>　</td>
  <td class=xl103 style='border-top:none;border-left:none'>　</td>
  </tr>
 <tr height=19 style='height:14.25pt'>
  <td height=19 colspan=18 style='height:14.25pt;mso-ignore:colspan'></td>
 </tr>
 <![if supportMisalignedColumns]>
 <tr height=0 style='display:none'>
  <td width=18 style='width:14pt'></td>
  <td width=717 style='width:50pt'></td>
  <td width=717 style='width:47pt'></td>
  <td width=717 style='width:39pt'></td>
  <td width=717 style='width:59pt'></td>
  <td width=717 style='width:53pt'></td>
  <td width=717 style='width:45pt'></td>
  <td width=717></td>
  <td width=717 style='width:54pt'></td>
  <td width=717 style='width:60pt'></td>
  <td width=717 style='width:24pt'></td>
  <td width=717 style='width:71pt'></td>
  <td width=717 style='width:15pt'></td>
  <td width=717 style='width:23pt'></td>
  <td width=508 style='width:84pt'></td>
  <td width=508 style='width:1pt'></td>
  <td width=508 style='width:36pt'></td>
  <td width=508 style='width:128pt'></td>
  </tr>
 <![endif]>
</table>
 
<table  align="center">
    <tr align="center" class="TableControl">
      <td height="35">
<input type="button" value="保存" class="BigButtonBHover" onClick="sendForm();"> </td>
    </tr>
  </table>
  
</form>

 
</body>
</html>
